﻿namespace ShortcutReader.Helpers
{
    public class LogHelper
    {
        #region Fields

        private readonly MainViewModel ViewModel;

        #endregion Fields

        #region Constructors

        public LogHelper(MainViewModel viewmodel)
        {
            this.ViewModel = viewmodel;
        }

        #endregion Constructors

        #region Methods

        public void LogShortcutPath()
        {
            this.ViewModel.StatusLog = string.Empty;
            this.ViewModel.StatusLog =PathHelper.GetLongPathName( this.ViewModel.ShortcutPath);
        }

        public void LogStatus(string status)
        {
            this.ViewModel.StatusLog += " " + string.Format("[{0}]", status);
        }

        #endregion Methods
    }
}